package com.ruoyi.purchase.domain;

import java.util.List;

/**
 * 用于接收前端订单变更信息 相当于订单 + 多个订单详情
 *
 * @author kevinness
 * @date 2025/1/7
 */
public class PurchaseOrderParams {
    private static final long serialVersionUID = 1L;

    /**
     * 采购订单编号
     */
    private String orderNo;

    /**
     * 供货商名称
     */
    private String companyName;

    /**
     * 交货地点
     */
    private String deliveryAddress;

    /**
     * 交货地点经度
     */
    private double destinationLng;

    /**
     * 交货地点纬度
     */
    private double destinationLat;

    /**
     * 下单时间
     */
    private String orderTime;

    /**
     * 采购负责人
     */
    private String responsiblePerson;

    /**
     * 联系电话
     **/
    private String contactPhone;

    /**
     * 订单状态
     */
    private String orderStatus;

    /**
     * 修改日期
     */
    private String modifiedDate;

    /**
     * 修改人
     */
    private String modifiedBy;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 订单详情
     */
    private List<OrderDetail> details;

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getDeliveryAddress() {
        return deliveryAddress;
    }

    public void setDeliveryAddress(String deliveryAddress) {
        this.deliveryAddress = deliveryAddress;
    }

    public double getDestinationLng() {
        return destinationLng;
    }

    public void setDestinationLng(double destinationLng) {
        this.destinationLng = destinationLng;
    }

    public double getDestinationLat() {
        return destinationLat;
    }

    public void setDestinationLat(double destinationLat) {
        this.destinationLat = destinationLat;
    }

    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    public String getResponsiblePerson() {
        return responsiblePerson;
    }

    public void setResponsiblePerson(String responsiblePerson) {
        this.responsiblePerson = responsiblePerson;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getModifiedDate() {
        return modifiedDate;
    }

    public void setModifiedDate(String modifiedDate) {
        this.modifiedDate = modifiedDate;
    }

    public String getModifiedBy() {
        return modifiedBy;
    }

    public void setModifiedBy(String modifiedBy) {
        this.modifiedBy = modifiedBy;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public List<OrderDetail> getDetails() {
        return details;
    }

    public void setDetails(List<OrderDetail> details) {
        this.details = details;
    }

    @Override
    public String toString() {
        return "PurchaseOrderParams{" +
                "orderNo='" + orderNo + '\'' +
                ", companyName='" + companyName + '\'' +
                ", deliveryAddress='" + deliveryAddress + '\'' +
                ", destinationLng='" + destinationLng + '\'' +
                ", destinationLat='" + destinationLat + '\'' +
                ", orderTime='" + orderTime + '\'' +
                ", responsiblePerson='" + responsiblePerson + '\'' +
                ", contactPhone='" + contactPhone + '\'' +
                ", orderStatus='" + orderStatus + '\'' +
                ", modifiedDate='" + modifiedDate + '\'' +
                ", modifiedBy='" + modifiedBy + '\'' +
                ", remarks='" + remarks + '\'' +
                ", details=" + details +
                '}';
    }
}
